<?php 


$id=$_GET["id"];

$file_array=glob("./upload/2016-10-13/*");
unlink($file_array[$id]);

Header("Location: ./file1.php"); 


 ?>